package com.cctcq.util.jdbc;


public class Page {
	private int backPage;
	private int nextPage;
	private int everyPage;
	private int currentPage;
	private int beginIndex;
	private int totalCount;
	private int totalPage;
	private String url;
	
	public Page(int everyPage) {
		this.everyPage = everyPage;
	}
	public Page(int everyPage, int totalPage, int currentPage, int beginIndex,
			int totalCount, int backPage, int nextPage,String url) {
		this.everyPage = everyPage;
		this.totalPage = totalPage;
		this.currentPage = currentPage;
		this.beginIndex = beginIndex;
		this.totalCount = totalCount;
		this.backPage = backPage;
		this.nextPage = nextPage;
		this.url=url;
	}
	public Page(int everyPage, int totalPage, int currentPage, int beginIndex,
			int totalCount, int backPage, int nextPage) {
		this.everyPage = everyPage;
		this.totalPage = totalPage;
		this.currentPage = currentPage;
		this.beginIndex = beginIndex;
		this.totalCount = totalCount;
		this.backPage = backPage;
		this.nextPage = nextPage;
	}
	

	public int getBackPage() {
		return backPage;
	}

	public void setBackPage(int backPage) {
		this.backPage = backPage;
	}

	public int getNextPage() {
		return nextPage;
	}

	public void setNextPage(int nextPage) {
		this.nextPage = nextPage;
	}

	public int getEveryPage() {
		return everyPage;
	}

	public void setEveryPage(int everyPage) {
		this.everyPage = everyPage;
	}

	public int getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

	public int getBeginIndex() {
		return beginIndex;
	}

	public void setBeginIndex(int beginIndex) {
		this.beginIndex = beginIndex;
	}

	public int getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}

	
}
